package edu.seu.mart.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.util.List;

/**
 * 图文消息
 */
public class NewsMsg extends BaseMsg {
    /**
     * 图文消息个数，限制为10条以内
     */
    @XStreamAlias("ArticleCount")
    private int articleCount;
    /**
     * 多条图文消息信息，默认第一个item为大图
     */
    @XStreamAlias("Articles")
    private List<Article> airticles;

    public int getArticleCount() {
        return articleCount;
    }

    public void setArticleCount(int articleCount) {
        this.articleCount = articleCount;
    }

    public List<Article> getAirticles() {
        return airticles;
    }

    public void setAirticles(List<Article> airticles) {
        this.airticles = airticles;
    }
}
